#!/usr/bin/env python
# -*- coding: utf-8 -*-

class   BaseJob(object) :
    def currentAction(self) :
        raise NotImplementedError
        # currentAction()

    def nextAction(self) :
        '''return next action
        if no more action, return None
        if no action at present, but job not end, return '' (scheduler would degrade priority of this job)
        '''
        raise NotImplementedError
        # nextAction()
    # class BaseJob

#######################################################################

__all__ = [ 'BaseJob', ]

